package com.cblue.qimokao.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "t_film")
@Data
public class Film {
    @TableId(value = "id",type = IdType.AUTO)
    @ExcelProperty("id")
    @ColumnWidth(20)
    private Integer id;
    @ExcelProperty("电影院")
    @ColumnWidth(20)
    private String dept;
    @ExcelProperty("电影名")
    @ColumnWidth(20)
    private String dname;
    @ExcelProperty("时间")
    @ColumnWidth(20)
    private String worktime;
    @ExcelProperty("余票")
    @ColumnWidth(20)
    private Integer lastnum;
}
